package com.etc.dao;

import com.etc.entity.Document;
import com.etc.entity.Job;
import com.github.pagehelper.Page;

import org.springframework.stereotype.Repository;

@Repository
public interface DocumentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Document record);

    int insertSelective(Document record);

    Document selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Document record);

    int updateByPrimaryKey(Document record);
    
    /**
     * //模糊查询 +分页(pageHelper插件)
     * @param keywords
     * @return
     */
    public Page<Document> getByLike(String keywords);
}